package day03.test1;

import java.util.Scanner;

public class test1 {
    public static void main(String[] args)
    {
        int i = 10;
        System.out.println(i++);
        System.out.println(i);
        System.out.println("hh"+1);

        System.out.println(11>4 && false);

        int a = 11;
        System.out.println(11==a && a>10);
        boolean bb = 5 < 5 && ++a > 12;
        System.out.println(bb);
        System.out.println(a);

        bb = 5<=5 || ++a>11;
        System.out.println(bb);
        System.out.println(a);

        int x = 100 ,y = 200;
        String s1 = x>y?"x大":"y大";
        System.out.println(x>y?"x大":"y大");
        System.out.println(s1);
        int z = x>y? x:y;
        System.out.println(z);
        //判断闰年
        int year = 2000;
        String run = (year%4 == 0 && year%100 !=0)||(year%400==0) ? "是闰年":"不是闰年";
        System.out.println(year+run);
        Scanner scan=new Scanner(System.in);
        //int my_year = scan.nextInt();
        //System.out.println(my_year);

        //接收一行
        String ss1 = scan.nextLine();
        System.out.println(ss1);
    }
}
